home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 2,401 to 2,500
/
aol-file-protocol-4400-2401-to-2500.zip
/
AOLDLs
/
PC Business Library
/
MLM Database Program
/
DHERB.exe
/
HLDEMO
/
BACK_UP.SC
< prev
next >
Wrap
Text File
|
1994-10-04
|
2KB
|
61 lines
; THIS SCRIPT WILL BACK UP THE HERBALIFE FILES TO THE "B" DRIVE.
; IT STORES ALL THE TABLES IN C:\HLIFE THEN A DOS BACKUP COMMAND IS GIVEN
CLEARALL
Copy "Cnotes" "C:\\HLIFE\\Cnotes"
Copy "Customer" "C:\\HLIFE\\Customer"
Copy "Distrib" "C:\\HLIFE\\Distrib"
Copy "Dnotes" "C:\\HLIFE\\Dnotes"
Copy "Referral" "C:\\HLIFE\\Referral"
Copy "MisNames" "C:\\HLIFE\\MisNames"
Copy "Temptail" "C:\\HLIFE\\Temptail"
Copy "Cinvoice" "C:\\HLIFE\\Cinvoice"
Copy "Dinvoice" "C:\\HLIFE\\Dinvoice"
Copy "Discount" "C:\\HLIFE\\Discount"
VIEW "Sys_info"
VER=[DOS Version]
CLEARALL
RUN "DOSBKUP "+VER
; LISTED BELOW IS DOSBKUP.BAT
;@ECHO OFF
;CLS
;REM NAME: DOSBKUP.BAT
;REM PURPOSE: TO GIVE THE USER THE OPTION TO BACK UP THE DATABASE TABLE
;REM TO A FLOPPY DRIVE.
;ECHO THE DATABASE TABLES HAVE BEEN SAVED TO A DIRECTORY ON THE C DRIVE
;ECHO CALLED HLIFE. YOU MAY ALSO BACK THEM UP TO A FLOPPY DISK FOR ADDED
;ECHO PROTECTION IN CASE YOUR HARD DISK CRASHES.
;BATCMD SL
;BATCMD SL
;BATCMD YN Do You Want To Back Up To A Floppy Disk? (Y/N)
;IF NOT ERRORLEVEL 1 GOTO STOP
;IF %1==ABOVE_5 GOTO DOS6
;IF %1==BELOW_5 GOTO DOS5
; :DOS6
;MSBACKUP
;GOTO END
; :DOS5
;BATCMD SL
;BATCMD GF AaBb Enter The Floppy Drive Letter (A OR B) For Backing Up Your Files.
;IF ERRORLEVEL 1 SET DRIVE=A:
;IF ERRORLEVEL 2 SET DRIVE=A:
;IF ERRORLEVEL 3 SET DRIVE=B:
;IF ERRORLEVEL 4 SET DRIVE=B:
;BATCMD SL
;ECHO INSERT A FLOPPY DISK IN DRIVE %DRIVE% AND
;PAUSE
;BACKUP C:\HLIFE\*.* %DRIVE%
;GOTO END
; :STOP
;BATCMD SL
;ECHO YOU SHOULD BACK UP YOUR FILES AT LEAST ONCE A WEEK TO A FLOPPY DISK.
;BATCMD SL
;ECHO DAILY IS THE BEST HABIT TO GET INTO.
;BATCMD SL
;PAUSE
; :END